/*
 * Copyright 2020 The Kubernetes Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import 'common';

/**
 * scheme: "Dracula"
 * author: "Mike Barkmin (http://github.com/mikebarkmin) based on Dracula Theme (http://github.com/dracula)"
 */
body[kui-theme='Dracula'] {
  @include kui-patternfly-alignment-dark;
  @include InvertColorsForTerminal;

  --color-base00: #282936;
  --color-base01: #3a3c4e;
  --color-base02: #4d4f68;
  --color-base03: hsl(236, 14%, 38%); /* dialed L down from 45% #626483 */
  --color-base04: #62d6e8;
  --color-base05: #e9e9f4;
  --color-base06: #f1f2f8;
  --color-base07: #f7f7fb;
  --color-base08: #ea51b2;
  --color-base09: #b45bcf;
  --color-base0A: #00f769;
  --color-base0B: #ebff87;
  --color-base0C: #a1efe4;
  --color-base0D: #62d6e8;
  --color-base0E: #{lighten(#b45bcf, 30%)};
  --color-base0F: #00f769;

  --color-base08-rgb: 234, 81, 178;
  --color-red-rgb: var(--color-base08-rgb);

  --color-base0B-rgb: 0, 247, 105;
  --color-green-rgb: var(--color-base0A-rgb);

  --color-base0D-rgb: 98, 214, 232;
  --color-blue-rgb: var(--color-base0D-rgb);

  --color-base0A-rgb: 235, 255, 135;
  --color-yellow-rgb: var(--color-base0A-rgb);

  --color-green: var(--color-base0A);
  --color-yellow: var(--color-base0B);

  /* old
  --color-latency-0: #4d4d4d;
  --color-latency-1: #999999;
  --color-latency-2: #e0e0e0;
  --color-latency-3: #fddbc7;
  --color-latency-4: #ef8a62;
  --color-latency-5: #b2182b;
 */
  --color-latency-0: #1b7837;
  --color-latency-1: #7fbf7b;
  --color-latency-2: #d9f0d3;
  --color-latency-3: #e7d4e8;
  --color-latency-4: #af8dc3;
  --color-latency-5: #762a83;

  --color-error-cell-bg: var(--color-base0E);
  --color-error-cell-text: var(--color-base00);
}
